﻿namespace Benefactor.Models.DtoModels;

public class VoucherInfo
{
    public required string Id { get; set; }

    public string? Name { get; set; }

    public string? BenefitId { get; set; }

    public string? MerchantId { get; set; }

    public string? ProductId { get; set; }

    public string? UserId { get; set; }

    public string? IssuedBenefitsCardNo { get; set; }

    public DateOnly? ValidFrom { get; set; }

    public DateOnly? ValidTo { get; set; }

    public required string ConsumeCode { get; set; }

    public bool IsUsed { get; set; }

    public DateTime? UseTime { get; set; }

    public DateTime? CreateTime { get; set; }

    public DateTime? UpdateTime { get; set; }
}